/** 
 * Project Name:sys-portal-Extjs 
 * File Name:MainView.js 
 * Package Name: 通讯界面主界面
 * Author : 吴Yuan|小森森
 * Date:2019年9月19日下午12:10:27 
 * Copyright (c) 2019, 15909910367@163.com All Rights Reserved. 
 * 
 */
Ext.define('Jason.view.chat.MainView', {
    extend: 'Wys.basic.BaseWin',
    xtype: 'chatView',
    requires: [
        'Jason.view.chat.FriendView',
        'Jason.view.chat.MessageView',
        'Jason.view.chat.MainViewCtrl'
    ],
    controller: 'chatViewModel',
    //	header:false,
    title: '内部通讯系统',
    iconCls: 'fa fa-wechat',
    headerPosition: 'left',
    modal: false,
    resizable: false,
    maximizable: false,
    width: 800,
    layout: 'fit',
    height: 600,
    items: [{
        xtype: 'container',
        ui: 'light',
        border: 1,
        layout: {
            type: 'hbox',
            align: 'stretch'
        },
        items: [{
            xtype: 'chatFriendView', border: 1,
            listeners: {
                itemclick: 'friendViewItemClick'
            }
        }, {
            xtype: 'messageView'
        }]
    }]
});